<?php
include_once ($_SERVER['DOCUMENT_ROOT'].'/global.php');
$array = array();
$sql="Insert into Worker (BuMenId,person_id) values({$_POST['BuMenId']},'{$_POST['person_id']}')";
$query = $mysqli->query($sql);
echo json_encode(1);
exit;
?>
